
<form id="form_add">
<table>
	<tr>
		<td align="right">员工：</td>
		<td colspan="3"><input type="text" name="emp" id="emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" size="12" title="{[$t.emp_|emp:'员工']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked> 自己</td>
		</td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><input type="text" name="name" size="32" value=""></td>
	</tr>	
	<tr>
		<td width="20%" align="right">容错：</td>
		<td width="30%"><select id="level" name="level">
			{[html_options options=$level_option selected=L]}
		</select></td>
		<td width="20%" align="right">大小：</td>
		<td width="30%"><input type="text" id="size" name="size" value="3" size="8"></td>
	</tr>
	<tr>
		<td align="right">类型：</td>
		<td colspan="3"><select id="type" name="type">
			{[html_options options=$type_option selected=1]}
		</select></td>
	</tr>
	<tr id="label_x">
		<td></td>
		<td colspan="3"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="8" name="content" id="content"
					cols="50">{[$smarty.request.content]}</textarea></td>
	</tr>
</table>
</form>

<p align="center">
	<img src="images/defqr.png" id="qrimage" alt="在线二维码生成器"
		width="260" height="260">
</p>

<table>
	<tr id="label_sms">
		<td></td>
		<td colspan="3">{[include file="info/qr/sms/_add.tpl"]}</td>
	</tr>
	<tr id="label_email">
		<td></td>
		<td colspan="3">{[include file="info/qr/email/_add.tpl"]}</td>
	</tr>
	<tr id="label_vcard">
		<td></td>
		<td colspan="3">{[include file="info/qr/vcard/_add.tpl"]}</td>
	</tr>
	<tr id="label_wifi">
		<td></td>
		<td colspan="3">{[include file="info/qr/wifi/_add.tpl"]}</td>
	</tr>
</table>

<script type="text/javascript"
	src="js/info/qr/add.js?r={[$smarty.now]}"></script>
